
<!--side_start-->
<div class="panel panel-default">
  <div class="panel-heading">
    <i class="fa fa-book"></i> Class/分类
  </div>
  <div class="panel-body side">
    <?php 
    $cts = extCache::tkGet('faqs_types',1); 
    if(!$cts) $cts = tex('texFaqs')->statTypes('upd');
    ?>
    <li class="type {if !$this->key}act{/if}"><a href="{surl(faqs)}" id='qas__allt'>
      <i class='right'><?=isset($cts['_allt'])?$cts['_allt']:0?></i>
      {lang(user.exf_alltype)}</a></li>
    {tag:cats=[Type,u][modid,faqs][idfix,top]}
    <li class="type {if $this->key==$t_kid}act{/if}"><a href="{surl("faqs-$t_kid")}" id='qas_{=$t_kid}'>
      <i class='right'><?=isset($cts[$t_kid])?$cts[$t_kid]:0?></i>
      {=$t_title}</a></li>
    {/tag:cats}
  </div>
</div>

<!--/##/-->

<div class="panel panel-default">
  <div class="panel-body">
    <form method="get" action="{surl(0:0)}">
      <input name="mkv" type="hidden" value="faqs--list">
      <select name="stype" class="form-control">
        <option value="keywd">{lang(user.qa_subj)}</option>
        <option value="tag" {if !empty($tag) }selected{/if}>{lang(user.qa_tag)}</option>
      </select>
      <div class="pt10">
          <input name="keywd" type="text" id="keywd" class="form-control wp60 inblock" />
          <input type="submit" id="sobtn" value="搜索" class="form-control wp30 inblock" />
      </div>
    </form>
  </div>
</div>

<!--/##/-->

<div class="panel panel-default">
  <div class="panel-heading">
    <i class="right"><a href="{surl(faqs-tag)}">{lang(user.qa_more)}&gt;&gt;</a></i>
    <i class="fa fa-flag"></i> Tags/标签 
  </div>
  <div class="panel-body side">
    <div class="cst-tag1">
      {if !empty($this->vars['tags']) }{php echo tex('texFaqs')->navTags($this,$this->vars['tags']); }
      {else}{tag:tags=[List][modid,qatag][order,hotcnt][limit,24]}
      {:row}<a href="{surl(0)}?faqs--list&tag={=$t_title}" class="c<?php echo tex('texFaqs')->rndColor(); ?>">{title($t_title,24,$v)}</a>{/row}
      {/tag:tags}{/if}
    </div>
  </div>
</div>
<!--side_end-->
